package com.hp.domain;

/**
 * TPermission entity. @author MyEclipse Persistence Tools
 */

public class TPermission implements java.io.Serializable {

	// Fields

	private Integer id;
	private TRole TRole;
	private String permissionName;
	private int roleId;
	// Constructors

	public int getRoleId() {
		return roleId;
	}

	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}

	/** default constructor */
	public TPermission() {
	}

	/** full constructor */
	public TPermission(TRole TRole, String permissionName) {
		this.TRole = TRole;
		this.permissionName = permissionName;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public TRole getTRole() {
		return this.TRole;
	}

	public void setTRole(TRole TRole) {
		this.TRole = TRole;
	}

	public String getPermissionName() {
		return this.permissionName;
	}

	public void setPermissionName(String permissionName) {
		this.permissionName = permissionName;
	}

}